<template>
	<vCommonPage :type="1" title="打印报告" class="xzdybg">
		<div slot="customContent" style="width: 100%;height: 100%;">
			<div class="CenterBox">
				<div class="left flex">
					<div class="patientName"><span v-if="$store.state.user.userinfo.patientName">患者：{{$store.state.user.userinfo.patientName}}</span></div>
				</div>
			</div>
			<div class="conentBox">
				<div class="conentBoxItem" v-for="(item,index) in cardChouseList" @click="gotoChcekIdCard(item)"
					:key="'o'+index">
					<img :src="item.url" class="conentBoxItemImg" />
					<div class="conentBoxItemName">{{item.name}}</div>
				</div>
			</div>
			<div class="bottomBox">
				<el-button type="primary" class="BtnTextHome" @click="goBack()">返回</el-button>
				<el-button type="primary" class="BtnTextHome" @click="goBackHome()">首页</el-button>
			</div>
		</div>
	</vCommonPage>
</template>
<script>
	export default {
		name: "qdcx",
		data() {
			return {
				cardChouseList: [{
					url: require('../../assets/images/dybg/jcbg.png'),
					name: '检查报告',
					type: 'exam'
				}, {
					url: require('../../assets/images/dybg/jybg.png'),
					name: '检验报告',
					type: 'test'
				}]
			};
		},
		methods: {
			ReckonTime() {},
			//前往清单页面
			gotoChcekIdCard(item) {
				this.$router.push({
					name: "dybgHome",
					query: {
						title: item.name,
						code: item.type
					}
				})
			},

		},
		computed: {

		},
		components: {},
		mounted() {},
		created() {}
	};
</script>
<style scoped rel="stylesheet/scss" lang="scss">
	@import "../../assets/css/qdcx/qdcxXzlx.scss";
</style>
